<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#wrap2 {
				border: 3px solid red;
				overflow: auto;
			}

			.class1 {
				width: 200px;
				height: 400px;
				background: blue;
				float: left;
				cursor: pointer;
			}

			.class2 {
				width: 200px;
				height: 300px;
				background: yellow;
				float: left;
			}

			.class3 {
				width: 200px;
				height: 300px;
				background: fuchsia;
				float: left;
			}

			.class4 {
				width: 200px;
				height: 200px;
				background: chartreuse;
				float: left;
			}
			
			#d1 {
				clear: both;
			}
		</style>
	</head>
	<body>
		<div id="wrap2">
			<div class="class1"></div>
			<div class="class2"></div>
			<div id="d1">
				
			</div>
			<div class="class3"></div>
			<div class="class4"></div>
		</div>
	</body>
</html>
